package com.maya.medicalwastes.entity;

import java.util.List;

/**
 * 表单提交的实体类
 */
public class FormCommitEntity {
    private String id;
    private String value;
    private Integer isErrorItem;//仅在提交一键报修实体类的时候用来判断该项是否是“异常”项 0：不是 1：是
    private String  itemName;//每个选项的名称
    private List<FormUploadPicture> pictures;

    public FormCommitEntity(String id, String value) {
        this.id = id;
        this.value = value;
    }

    public FormCommitEntity(String id, List<FormUploadPicture> pictures) {
        this.id = id;
        this.pictures = pictures;
    }

    public FormCommitEntity(String id, String value, Integer isErrorItem,String itemName) {
        this.id = id;
        this.value = value;
        this.isErrorItem = isErrorItem;
        this.itemName = itemName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getIsErrorItem() {
        return isErrorItem;
    }

    public String getItemName() {
        return itemName;
    }
}
